package com.zlm.common.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zlm.common.base.BaseEntity;

import java.util.Date;

/**
 * 公司收藏
 * @Author: duyufu
 * @Date: 2019/5/5 13:52
 */
public class EmpOrgCollectDO extends BaseEntity {
    private static final long serialVersionUID = 6079821112055306283L;

    private Integer collectId;

    private Integer empId;

    private Integer orgId;

    private Integer alive;

    private Integer createUser;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTime;

    public Integer getCollectId() {
        return collectId;
    }

    public void setCollectId(Integer collectId) {
        this.collectId = collectId;
    }

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public Integer getAlive() {
        return alive;
    }

    public void setAlive(Integer alive) {
        this.alive = alive;
    }

    public Integer getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "EmpOrgCollectDO{" +
                "collectId=" + collectId +
                ", empId=" + empId +
                ", orgId=" + orgId +
                ", alive=" + alive +
                ", createUser=" + createUser +
                ", createTime=" + createTime +
                '}';
    }
}
